package org.summer.lawyer.domain.vo.wxuser;

import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.summer.common.mybatis.core.domain.BaseEntitySearch;
import org.summer.lawyer.domain.WxUser;

import java.io.Serial;
import java.util.Date;


/**
 * 微信用户信息视图对象 wx_user
 *
 * @author summer
 * @date 2024-06-20
 */
@Schema(title ="微信用户信息视图对象 wx_user", description = "微信用户信息视图对象 wx_user")
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = WxUser.class)
public class WxUserVo extends BaseEntitySearch {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 微信用户ID
     */
    @Schema(title = "wxUserId", type = "Long", description = "微信用户ID")
    private Long wxUserId;

    /**
     * 账号
     */
    @Schema(title = "account", type = "String", description = "账号")
    private String account;

    /**
     * 密码
     */
    @Schema(title = "password", type = "String", description = "密码")
    private String password;

    /**
     * 昵称
     */
    @Schema(title = "nickname", type = "String", description = "昵称")
    private String nickname;

    /**
     * 头像
     */
    @Schema(title = "avatar", type = "String", description = "头像")
    private String avatar;

    /**
     * 小程序openId
     */
    @Schema(title = "openId", type = "String", description = "小程序openId")
    private String openId;

    /**
     * 小程序unionId
     */
    @Schema(title = "unionId", type = "String", description = "小程序unionId")
    private String unionId;

    /**
     * 手机号码
     */
    @Schema(title = "phoneNumber", type = "String", description = "手机号码")
    private String phoneNumber;

    /**
     * 真实姓名
     */
    @Schema(title = "realName", type = "String", description = "真实姓名")
    private String realName;

    /**
     * 性别,M=男，F=女,O=未知
     */
    @Schema(title = "sex", type = "String", description = "性别,M=男，F=女,O=未知")
    private String sex;

    /**
     * 用户状态, 0=正常，1=冻结
     */
    @Schema(title = "status", type = "String", description = "用户状态, 0=正常，1=冻结")
    private String status;

    /**
     * 协议状态,0=未同意，1=已同意
     */
    @Schema(title = "agreement", type = "Long", description = "协议状态,0=未同意，1=已同意")
    private Long agreement;

    /**
     * 实名认证状态 0未实名认证，1已实名认证
     */
    @Schema(title = "realNameAuth", type = "String", description = "实名认证状态 0未实名认证，1已实名认证")
    private String realNameAuth;

    /**
     * 开户银行
     */
    @Schema(title = "openingBank", type = "String", description = "开户银行")
    private String openingBank;

    /**
     * 银行卡号
     */
    @Schema(title = "bankAccount", type = "String", description = "银行卡号")
    private String bankAccount;

    /**
     * 开户行地址
     */
    @Schema(title = "bankAddress", type = "String", description = "开户行地址")
    private String bankAddress;

    /**
     * 名片姓名
     */
    @Schema(title = "cardName", type = "String", description = "名片姓名")
    private String cardName;

    /**
     * 名片电话号码
     */
    @Schema(title = "cardPhone", type = "String", description = "名片电话号码")
    private String cardPhone;

    /**
     * 用户类型(normal普通用户，lawyer=律师用户）
     */
    @Schema(title = "wxUserType", type = "String", description = "用户类型(normal普通用户，lawyer=律师用户）")
    private String wxUserType;

    /**
     * 创建时间
     */
    @Schema(title = "createTime", type = "Date", description = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @Schema(title = "updateTime", type = "Date", description = "更新时间")
    private Date updateTime;

    /**
     * 用户标签
     */
    @Schema(title = "userTag", type = "String", description = "用户标签")
    private String userTag;

    /**
     * 云信账号ID
     */
    @Schema(title = "accid", type = "String", description = "云信账号ID")
    private String accid;

    /**
     * 云信账号token
     */
    @Schema(title = "nimToken", type = "String", description = "云信账号token")
    private String nimToken;
}
